package game.objects.weapons 
{
	import game.objects.towers.Tower;
	/**
	 * ...
	 * @author rnk
	 */
	public class Weapon 
	{
		public var tower:Tower;
		
		public var name:String = "noname";
		public var icon:Class;
		public var resource_type:String="notype";
		public var cost:int=0;
		
		public function Weapon() 
		{
			
		}
		
		public function Init(tower:Tower):void
		{
			this.tower = tower;
		}
		
		public function Die():void
		{
			
		}
		
		public function Fire(fireSolution:Object):void
		{
			
		}
		
		public function Update():void
		{
			
		}
		
		public function Finish():void
		{
			tower.WeaponFinished();
		}
		
		
	}

}